<link rel="stylesheet" href="../css/body.css" type="text/css" />
<script type="text/javascript" src="../js/view.js"></script>

<script type="text/javascript">
Ext.onReady(function(){

	view.view_content('content_home','tbcontent_home');
	$('#del_content_home').click(function(){
		var ids= common.getChecked('content_home');
		if(ids == ""){
			alert("Chọn nội dung cần xóa");
		}else{
			if(confirm("Bạn chắc chắn muốn xóa?")){
				view.delete_content('1',ids,'tbcontent_home');
			}
		}
	});
});
</script>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
 <h2>CONTENT&nbsp;HOME</h2>
	
<div id="wrapper">
	<form id="form" method="POST" action="">
		<fieldset>
			<legend>Content&nbsp;Table</legend>
				<div id="tbcontent_home"></div>
		</fieldset>
		<div class="btn-submit">
				<input id='del_content_home' type="button" name="del_content_home" value="DELETE"  />
		</div>
	</form>
</div>
</html>